package com.atjava.nebula.eims.organization.model;

import java.util.Date;

import com.atjava.nebula.core.model.TreeModel;

public class EimsOrganization extends TreeModel {
    private Short pkid;

    private String name;

    private String code;

    private Short pid;

    private String note;

    private Date createTime;

    private Date updateTime;

    public Short getPkid() {
        return pkid;
    }

    public void setPkid(Short pkid) {
        this.pkid = pkid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Short getPid() {
        return pid;
    }

    public void setPid(Short pid) {
        this.pid = pid;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

	@Override
	public Object getParentPkid() {
		return this.pid;
	}
}